package com.shoe.mapper;

import com.shoe.pojo.Cart;
import com.shoe.pojo.ShoeCart;
import com.shoe.pojo.ShoeCartExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ShoeCartMapper {
    int countByExample(ShoeCartExample example);

    int deleteByExample(ShoeCartExample example);

    int deleteByPrimaryKey(Long cartId);

    int insert(ShoeCart record);

    int insertSelective(ShoeCart record);

    List<ShoeCart> selectByExample(ShoeCartExample example);

    ShoeCart selectByPrimaryKey(Long cartId);

    int updateByExampleSelective(@Param("record") ShoeCart record, @Param("example") ShoeCartExample example);

    int updateByExample(@Param("record") ShoeCart record, @Param("example") ShoeCartExample example);

    int updateByPrimaryKeySelective(ShoeCart record);

    int updateByPrimaryKey(ShoeCart record);

    List<Cart> selectAll(Integer cartUserId);
}